package com.work.cos.service.interfc.msg;

import com.work.cos.domain.entity.msg.MsgTypeEntity;

import java.util.List;

/**
 * Created by intel on 2018/3/30.
 */
public interface IMsgTypeService {

    /**
     *
     * @return
     */
    List<MsgTypeEntity> getAll();
    
    /**
    *
    * @return
    */
   List<MsgTypeEntity> getAllByIsDel(int isDel);

    /**
     *
     * @param id
     * @return
     */
    MsgTypeEntity getOne(Long id);

    /**
     *
     * @param user
     */
    void insert(MsgTypeEntity user);

    /**
     *
     * @param user
     */
    void update(MsgTypeEntity user);

    /**
     *
     * @param id
     */
    void delete(Long id);
}
